<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    <class name="cn.firstsoft.modules.webim.domain.WebIMDefinedGroupUser" table="webim_definedGroup_user">
		<id name="id">
			<generator class="native">
				<param name="sequence">ImDefinedGroupUser_ID_SEQ</param>
			</generator>
		</id>
		<property name="userId" type="integer">
            <column name="user_id"/>
        </property>
		<many-to-one name="webIMDefinedGroup" class="cn.firstsoft.modules.webim.domain.WebIMDefinedGroup" lazy="false">
            <column name="definedGroup_id"/>
        </many-to-one>
		 <property name="joindate" type="timestamp">
            <column name="joindate" length="23"/>
        </property>
		<property name="definedName" type="string">
            <column name="definedName" length="500"/>
        </property>
		 <property name="pos" type="integer">
            <column name="pos"/>
        </property>
	</class>

</hibernate-mapping>